package com.iaz.tech.tools.uml.relationship;

import com.iaz.tech.tools.uml.IUMLNeuronAble;

import lombok.Data;
/**
 * 表示2对象之间关系
 */
@Data
public abstract class Relationship implements IRelationshipAble {
	/**
	 * 主叫用户
	 */
	private IUMLNeuronAble dialing;
	/**
	 * 被叫用户
	 */
	private IUMLNeuronAble called;

	private String dialingStr;
	private String calledStr;
	
	/**
	 * 主叫
	 */
	@Override
	public String getDialingString() {
		return this.dialingStr;
	}
	/**
	 * 被叫
	 */
	@Override
	public String getCalledString() {
		return this.calledStr;
	}

}
